home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / ASM-MIPS / CACHE.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  340b  |  15 lines

  1. /*
  2.  * include/asm-mips/cache.h
  3.  */
  4. #ifndef __ASM_MIPS_CACHE_H
  5. #define __ASM_MIPS_CACHE_H
  6.  
  7. /* bytes per L1 cache line */
  8. #define        L1_CACHE_BYTES  32      /* a guess */
  9.  
  10. #define        L1_CACHE_ALIGN(x)       (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1))
  11.  
  12. #define        SMP_CACHE_BYTES L1_CACHE_BYTES
  13.  
  14. #endif /* __ASM_MIPS_CACHE_H */
  15.